package com.hzcx.app.simplechat.ui.login.contract;

import android.content.Context;

import com.hzcx.app.simplechat.base.IPresenter;
import com.hzcx.app.simplechat.base.IView;
import com.hzcx.app.simplechat.ui.login.bean.LoginInfoBean;

public interface LoginByPwdContract  {

    interface View extends IView {
        void loginSuccess(LoginInfoBean data);
    }

    interface Presenter extends IPresenter<View> {
        void loginByPwd(Context context, String phone, String pwd,String area_code);
    }

}
